Tribe\Events\Views\V2\Repository\Event_Period B

Total Complexity 92
Dependencies 15
Dependents 1
Total lines 1,263
Lines of code 418
Logical lines of code 204
Comment lines 688
Methods 48
Properties 8

Methods 48

Method Rating Maintainability Complexity Lines of code
group_sets_by_start_date()
A
44 9 47
query_for_sets()
S
47 5 39
query_w_limit()
S
52 6 22
by_period()
S
54 6 20
fetch_cached_sets()
S
50 5 27
get_sets()
S
55 5 21
get_sub_set()
S
57 5 16
add_missing_sets()
S
62 3 11
set_results_cache()
S
52 2 23
query_for_sets_starting_before_period_end()
S
55 2 21
query_for_sets_ending_after_period_start()
S
56 2 20
filter_sets_w_base_repository()
S
59 2 16
get_sets_ids()
S
59 2 15
by()
S
59 2 14
get_set()
S
75 2 4
base_repository()
S
70 2 7
query_for_meta()
S
58 1 15
cast_sets()
S
65 1 11
by_args()
S
91 1 2
collect()
S
91 1 2
get_cache_key()
S
74 1 4
fetch()
S
82 1 3
by_date()
S
74 1 4
get_ids()
S
80 1 3
filter()
S
91 1 2
sort()
S
91 1 2
not_in()
S
91 1 2
page()
S
91 1 2
per_page()
S
91 1 2
found()
S
91 1 2
all()
S
82 1 3
offset()
S
91 1 2
order()
S
91 1 2
order_by()
S
91 1 2
fields()
S
91 1 2
in()
S
91 1 2
parent()
S
91 1 2
where()
S
80 1 3
parent_in()
S
91 1 2
parent_not_in()
S
91 1 2
search()
S
91 1 2
count()
S
91 1 2
first()
S
91 1 2
last()
S
91 1 2
nth()
S
91 1 2
take()
S
91 1 2
pluck()
S
91 1 2
set_base_repository()
S
81 1 3